package cn.iocoder.yudao.module.picturebook.controller.admin.favorites.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 用户收藏新增/修改 Request VO")
@Data
public class FavoritesSaveReqVO {

    @Schema(description = "收藏ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2671")
    private Long id;

    @Schema(description = "关联用户", requiredMode = Schema.RequiredMode.REQUIRED, example = "10317")
    @NotNull(message = "关联用户不能为空")
    private Long userId;

    @Schema(description = "关联书籍", example = "21992")
    @NotNull(message = "关联书籍不能为空")
    private Long bookId;

    @Schema(description = "收藏类型：1-单本，2-绘本集", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "收藏类型：1-单本，2-绘本集不能为空")
    private Integer collectionType;

}